package Ventanas;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.*;




/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
/**
 * @author lucas
 */
public class VentanaWarningBajaMedico extends JFrame {

	{
		//Set Look & Feel
		try {
			javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
		} catch(Exception e) {
			e.printStackTrace();
		}
	}


	public VentanaWarningBajaMedico(){
		initComponents();
	}
	
	private void initComponents() {
		
		label1 = new JLabel();
		label2 = new JLabel();
		space = new JPanel(null);
	
		//======== this ========
		{
			this.setTitle("Warning Medico");
			this.setIconImage(new ImageIcon("/Seminario-Cliente/src/Images/alerta.png").getImage());
			this.setVisible(true);
			this.setAlwaysOnTop(true);
			this.setResizable(false);
			Container thisContentPane = this.getContentPane();
			thisContentPane.setLayout(null);
	
	
			//---- btnSi ----
	
	
			//---- btnNo ----
		

		
			thisContentPane.add(space);
			space.setBounds(1, 81, 416, 53);
			{
				btnAceptar = new JButton();
				space.add(btnAceptar);
				btnAceptar.setText("Aceptar");
				btnAceptar.setPreferredSize(new java.awt.Dimension(101, 30));
				btnAceptar.addActionListener(new ActionListener(){
							
							public void actionPerformed (ActionEvent paramActionEvent){
								dispose();
							}
						});
			}
			{
				lblLeyenda2 = new JLabel();
				thisContentPane.add(lblLeyenda2);
				lblLeyenda2.setText("Atencion el Medico sera Borrado de los registros");
				lblLeyenda2.setBounds(107, 45, 231, 16);
			}

			{ // compute preferred size
				Dimension preferredSize = new Dimension();
				for(int i = 0; i < thisContentPane.getComponentCount(); i++) {
					
					Rectangle bounds = thisContentPane.getComponent(i).getBounds();
					preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
					preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
				}
				Insets insets = thisContentPane.getInsets();
				preferredSize.width += insets.right;
				preferredSize.height += insets.bottom;
				thisContentPane.setMinimumSize(preferredSize);
				thisContentPane.setPreferredSize(new java.awt.Dimension(467, 154));
			}
			this.pack();
			this.setSize(435, 160);
			this.setLocationRelativeTo(null);
		}
	}
	private JButton btnAceptar;
	private JLabel label1;
	private JLabel lblLeyenda2;
	private JLabel label2;
	private JPanel space;
}
